<template>
  <div class="card-box">
    <v-dialog :show.sync="dialogVisible" width="70%" title="绩效考核编辑" ref="dialogAssessIndustrialAdd" @beforeClose="dialogVisible = false">
      <el-form ref="formData" class="form-wrap" size="small" :rules="rules" :model="formData">
        <el-form-item label="年度" prop="year">
          <!--<el-input v-model="formData.year" placeholder="请输入"></el-input>-->
          <el-date-picker type="year" format="yyyy" value-format="yyyy" v-model="formData.year" placeholder="请选择正确年份" />
        </el-form-item>
        <el-form-item label="进驻公司名称" prop="companyName">
          <el-input v-model="formData.companyName" maxlength="32" placeholder="请输入"></el-input>
        </el-form-item>
        <el-form-item label="进驻园区" prop="parkName">
          <el-input v-model="formData.parkName" maxlength="32" placeholder="请输入"></el-input>
        </el-form-item>
        <el-form-item label="楼层" prop="floor">
          <el-input v-model="formData.floor" maxlength="18" placeholder="请输入"></el-input>
        </el-form-item>
        <el-form-item label="合同开始日期" prop="contractStartTm">
          <el-date-picker v-model="formData.contractStartTm" type="date" value-format="yyyy-MM-dd" :picker-options="pickerStartTime" placeholder="选择日期"></el-date-picker>
        </el-form-item>
        <el-form-item label="合同结束日期" prop="contractEndTm">
          <el-date-picker v-model="formData.contractEndTm" type="date" value-format="yyyy-MM-dd" :picker-options="pickerEndTime" placeholder="选择日期"></el-date-picker>
        </el-form-item>
        <el-form-item label="租期" prop="leaseTerm">
          <el-input v-model="formData.leaseTerm" maxlength="18" placeholder="请输入"></el-input>
        </el-form-item>
        <el-form-item label="承租面积" prop="leaseArea">
          <br />
          <el-input-number v-model="formData.leaseArea" maxlength="18" controls-position="right" :precision="2" :min="0"></el-input-number>
        </el-form-item>
        <el-form-item label="租金单价" prop="rentPrice">
          <br />
          <el-input-number v-model="formData.rentPrice" maxlength="18" controls-position="right" :precision="2" :min="0"></el-input-number>
        </el-form-item>
        <el-form-item label="月租金" prop="monthRent">
          <br />
          <el-input-number v-model="formData.monthRent" maxlength="18" controls-position="right" :precision="2" :min="0"></el-input-number>
        </el-form-item>
        <el-form-item label="租金优惠" prop="rentConcession">
          <el-input v-model="formData.rentConcession" maxlength="18" placeholder="请输入"></el-input>
        </el-form-item>
        <el-form-item label="进驻情况" prop="enterDesc">
          <el-input v-model="formData.enterDesc" maxlength="255" placeholder="请输入"></el-input>
        </el-form-item>
        <el-form-item label="总部企业" prop="enterprise">
          <el-input v-model="formData.enterprise" maxlength="255" placeholder="请输入"></el-input>
        </el-form-item>
        <el-form-item label="登记注册地" prop="registeredAddress">
          <el-input v-model="formData.registeredAddress" maxlength="255" placeholder="请输入"></el-input>
        </el-form-item>
        <el-form-item label="纳税登记地" prop="taxPlace">
          <el-input v-model="formData.taxPlace" maxlength="255" placeholder="请输入"></el-input>
        </el-form-item>
        <el-form-item label="纳税总额（万元）" prop="totalTax">
          <br />
          <el-input-number v-model="formData.totalTax" maxlength="18" controls-position="right" :precision="2" :min="0"></el-input-number>
        </el-form-item>
        <el-form-item label="创新成果投入（万元）" prop="innovativeResults">
          <br />
          <el-input-number v-model="formData.innovativeResults" maxlength="18" controls-position="right" :precision="2" :min="0"></el-input-number>
        </el-form-item>
        <el-form-item label="GDP贡献（万元）" prop="gdpContribute">
          <br />
          <el-input-number v-model="formData.gdpContribute" maxlength="18" controls-position="right" :precision="2" :min="0"></el-input-number>
        </el-form-item>
        <el-form-item label="是否上市" prop="isListCompany">
          <el-select v-model="formData.isListCompany" placeholder="是否上市" size="small">
            <el-option key="1" label="是" value="1"></el-option>
            <el-option key="0" label="否" value="0"></el-option>
          </el-select>
        </el-form-item>
        <el-form-item label="租金缴纳情况" prop="rentStatus">
          <el-input v-model="formData.rentStatus" maxlength="255" placeholder="请输入"></el-input>
        </el-form-item>
        <el-form-item label="考核结果" prop="assessResult">
          <el-select v-model="formData.assessResult" placeholder="考核结果" size="small">
            <el-option key="合格" label="合格" value="合格"></el-option>
            <el-option key="不合格" label="不合格" value="不合格"></el-option>
          </el-select>
        </el-form-item>
        <el-form-item label="备注" prop="remarks">
          <el-input v-model="formData.remarks" maxlength="255" placeholder="请输入"></el-input>
        </el-form-item>
      </el-form>
      <div slot="foot">
        <el-button @click="dialogVisible = false">关闭</el-button>
        <el-button type="primary" v-throttle="[save]">保存</el-button>
      </div>
    </v-dialog>
  </div>
</template>
<script src="./edit.js"></script>
<style lang="scss" scoped>
@include formWrap();
</style>
